<?php


namespace dsp\prototype;


class Main extends \kernel\BaseMain
{

    public function execute($choice = '')
    {
        $author = new Author('John');
        $page = new Page('Tip of the day', 'Keep calm and carry on. ', $author);

        $page->addComment('Nice tip, thanks!');

        $draft = clone $page;
        var_dump($page);
        var_dump($draft);
    }
}